<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>6</title>
</head>
<body>
<script>
  //输出1到100之间所有既能被3整除又能被5整除的偶数
  console.log("1到100之间所有既能被3整除又能被5整除的偶数:")
  for (let i = 1; i <100 ; i++) {
      if (i%3==0&&i%5==0&&i%2==0){
          console.log(i)
      }
  }
</script>
</body>
</html>